<?php
/**
 * Created by PhpStorm.
 * User: xaq
 * Date: 2017/5/30
 * Time: 23:29
 */

namespace app\api\controller;

use app\api\service\Token as TokenService;
use app\lib\exception\UserException;
use think\Controller;
use app\api\model\User as UserModel;


class BaseController extends Controller
{
    protected function checkPrimaryScope() {
        TokenService::needPrimaryScope();
    }

    protected function checkExclusiveScope() {
        TokenService::needExclusiveScope();
    }
}